set footer properly for every page