Added 'fit' functionality

Now you can pass 'fit' to make the whole image visible.