checkboxes in edit page

showing/hiding when gallery is selected/unselected
get all galleries from db