remember the visibility state of the grid and planet trails.