Changed layout and got footer working correctly