fixing the post/page nav buttons