customize layer switcher and pan zoom bar