gallery control implemted