Added page navigator theme function.