Enabling and disabling visualizer navigation buttons accordingly