adding panels and listeners
adding shapePanel