adding close expanded panel via back button