stops flipping if at end of deck