Better solution to fix getting The 'Unresponsive Script' when switching between the tabs