Updated controller code

Changed the behaviour of the downKey.