added swipe limits