Trim excess sidebar