pictures in both landscape and portrait view now have appropriate sizes