Refactor angle comparison statements for method swipeDirection(); Simplification