Improvements to the collapse of the footer