changed classname for next page