fixed a problem that a previous zoom operation would mess up a following zoom operation if the view had snapped back to the grid in between. Still has an issue when there is only one image displayed...