updated pagination active class