fix for hiding the whole bar when necessary

+ some toolbar attribute, it's mostly for testing, you may skip the
changes in the xul