legend + region toggles

add legend tab and widget. add toggles to left and bottom regions