adding dynamic tick icon hide/show