Added input controlled movement.