Animates the maze end, clean code