added weight attribute to details panel.
added weight attribute to details panel.