Append and remove classes from the layout wrapper not the body.