Cleanup formatting for common movement functions