add swipe css visibility