introducing block in css and reintegrate the interaction between graph and the panel via pubsub scheme