Removed optimization in VariableLayout because both chrome and firefox seem to work better without this now. Added a layout example.