Cleaned up the code and simplified some of the movement. Also disabled moving backward