Create function to swap body class states
Bug 1046251