correctly display picture in different screen sizes