hacky css for swipe