remove space and make swipe smoother