zoom out when leaving page (and some attempts at keeping track of active state)