adding class panel and its css