[IMP] tour.js: less flickering and clean code