collapse all panels if global action is shown

Change-Id: I35e37cde256f92069b652ff1254abcbd23679657