Revert "Revert "changed the layout and functionality of the "control pannel". still need to debug map.js""

This reverts commit 5345ce64a6d9bcd457ee8ab78c0c53eb091a08ed.