Improved functionality for "Issue Details" view

This improves some minor handling when viewing issue details, such as:

- "Affects" and other tabs at the bottom can be "closed" completely when
clicking the currently selected tab again (but just in this view)

- it was not possible to close a once opened issue history before. Now
the view of issue history can be toggled