repositioning footer, cleaning up code