add close button to top-left corner of detail sidebar