added swipe for devices on navbar