fit img to wrapper for "fit to window" functionality

Also, re-adjust the loading gif size.