adjust slide aspect ratio