fixing swipe for home