added an X icon to the top right of the panel sidebar, which closes the panel