added body class function to RV resources