tweak layout to show footer when scrolled to the bottom