add gallery mode button