Fix bug with custom panels

Fix bug when the title of a panel is not a good html id.
The title is now a hash of the url