truncate slidebar