added base template and header scrolling