added movementlogic to gui