Added submenu functionality on Layers