added zoomfit feature, show zoomfit at the beginning