fix css class resetting issue on demo page