Fix a typo in the function name: toogleLayout -> toggleLayout

This was pointed out by user Beeswaxcandle, on
https://en.wikisource.org/w/index.php?diff=5014393

Change-Id: I3daa77babeee46f435fa0d37c539a350bc8368a1
Merge "Fix a typo in the function name: toogleLayout -> toggleLayout"