solve footer by placing min-height on main tag