added footer, added minor fixes to elements' resizing