fix crashes related swipe and selection
fix crashe related qlpreview