update heatmap to use sample annotations

add back panning (which was dropped from an earlier commit somehow)

fix bugs in rendering legend -- note that vertical legend is not supported
Merge pull request #2 from raphael-group/colorBug

update heatmap to use sample annotations