fixed zooming, now uses the correct proportions...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
rewritten the getVisibleImageSize(...), now its more general, and some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>