function THEMENAME_preprocess_views_view(&$variables){
$view = $variables['view'];
if($view->name == "YOUR_VIEW_NAME" && $view->current_display == "MACHINE_NAME_OF_VIEW"){
$variables['attributes']['class'][] = 'page-'.$view->name;
}
For some reason this does not work. Any ideas?