Make sure image is always within the client window
call resizeImage on document ready as well as on window resize;
Fix #1: piggy bagging title() to do resizing of image;
Fix #1: add delay to wait for image to finish loading;
Merge pull request #1 from chernjie/master

Make sure image is always within the client window