Panel: Truncate and move to left: 0 while closed

This solution is similar to how we hide the popup

Fixes gh-7807