added Layers Toggle Functionality and arranged the UI