fixing bug with active section jquery selection and class additions