added swipe for sidebar