properly fit open/closed element next to title