added map layer functionality and fix to responsive margins