Toggle expanded sections only if they are not already expanded.

Bug: 72322
Change-Id: I2413fabeb21e86c05986e71d2baa21c83bac2665
Merge "Toggle expanded sections only if they are not already expanded."