first solution to zoomtofit problem (needs more fixing)