set gallery metabox to gallery post type