Check the type of the current pager when hash switching