fix layout issues for footer on tablet screens