added for showing filter on result page while serach and clean code.