Ensuring no overflow on footer for tablet