Fixed resizing of image
added some layout changes