add footer and sidebar for scroll to top-bottom