fixing image size and layout