Added top heatmap and separated top from left logic. fixes #143