implementing a tilting mechanism in a maze game with html; css; and javascript (1)