make left, right and rotate keys work