created a new method called resetPanel that resets the tile info panel
(reusability)