add ellipsis to slider caption