Add the functionality to hide and show the filter container based on current page.