combine slider logic for benefits and cards into a single functional code; corrected spelling error(insurance) which prevented filtering for insurance page