get sticky post function now tests if on first page and only shows for first page