Prevent overswiping when item is opened