remember zoom and offset when switching blocks