adding swipe behavior to menu bottom bar