FIX: crash when swiping image in landscape orientation