added close listener, tied map size to camera scroll