Fixed misnamed variables on layout examples and incorrect rotation example

- Variables were misnamed in last two examples on layout.md so they wouldn't work.
- Changed ordering of modifiers on last example of layout.md. They weren't rotating around the center as the text above implied it would.