add selected class to nav and add filters