add javascript hide functionality and fixed footer margins