Refactoring Swipe: extracted cleanup_frames
Refactoring Swipe: Extracted max_line_swipe into it's own method
Refactoring Swipe: changed iteration