Fix bootstrapp-tab.js refresh on window resize