zoom and center on hash change