Topic: gallery default position when leaving active window


i added a frame to the bottom of my webpage, the main page is the tildviewer. technically everything works fine but I would like to change the behavior of the gallery. the gallery will follow the mouse pointer even so when I´m passing
to the subframe on the bottom. Is there a way that the gallery will return to a default position (center position) when I leave the main frame with my mouspointer ?