Refactor code to combine hardness and case depth.

Since hardness and case depth controller do the same
things combine codebase.
reset the rangePicker when which the top picker's value
Added a show full chart button