Fixed issue #27. bugs when using both zoomLevel + Gallery options

Problem with zoomLevel option when using a gallery as mentioned in issue #27

- On image load the zoom is not proper.
 -After image change in gallery the zoom is not proper also blank image is shown on reaching the right & bottom edges.

Above mentioned issues fixed in this commit.