style fixes

-fixed the details panel so it doesn't cause a scrollbar when it becomes hidden
-moved the details panel toggle button so its at the level of the heading