added mixin for text truncation