Made dynamic main body instead of dynamic footer
make initial footer invisible until resize happens