added touch and keyboard movement