ajusting time duration between transitions and fixing a bug when zooming out and heat-map is still open