ENH: Adding a callback for adding to the scalar detail view.

@jamiesnape @zachmullen