Made behaviour of details/summary more obvious (fixes #4740)