fixed bug dealing with hovering over tabs