Swap width and height variable names in examples