added grid for switches
refined button grid with hinge