Updated auto positioning of footer logic.