create a class scrolling and recreate a class grid