animated sprites and added wall hit event