Improves footer behaviour on mobile.