Make active page work with current_page

Use current_page check for active state