fixing title truncation issues for firefox