Fixed Fit to view toggle between auto and 100% Zoom to be reset by zoom or pan action

- Test cases are added