support initial color and setting for whether can swipe