updated nav bar scroll function on page_detail.html