clean up snake direction handling