added addclass active script to all partials