Added smooth scroll to page navigation links.
Added GA track code only when publishing.