zoom and centering improvements