fixed issue with left and up movements (too early of a continue statement