Fixed topbar.js auto height when the top bar is expanded

Fixed topbar.js auto height when the top bar is expanded. (Changed min-height by max-height)

Now, when the top bar is expanded. The height is automatically resized to adapt it to the content.

Previously, the min-height of the expanded top bar was the height of the content of the first level.