resizing the home image