Fixes bug on the down swipe