Added a feature for hiding and showing the tour slider. Cleaned up the code.