extracted zooming into helper script