added active state to pager