Some intentation cleanup
Modified gallery to scale down images if they don't fit on screen.