add canShowLeft canShowRight