Apply layout after remove tab in Accordion (#11366, #13423)

Change-Id: Ia56729d2d533697bea78bdb1de6b2710e166893a