Depth view: Nicer handling of map width changes

- Use jquery to adjust the width of the map canvas
- Do not hard-code the graph element into the histogram component