adding xav's fixes from e9ccc03fea81c002b25b8e76f268bb85e9c3b165 to the ...

...latest version of threshold. This enables thresholding with horizontal charts.

Signed-off-by: Dave Messina <david_messina@cofactorgenomics.com>