improvements: prevent blinking of tabs on mouse click