Added perprocess function to add right classes to front page groups view