resizing main page image