added truncate to sidebar