restore tabs when page is refreshed