Added functionality of having a fixed tab when page is refreshed