support initial color when swipe