fixed bug with jumping to the top of the page on tab change