optimize footer layout