Switch to dynamic mode on heatmap up/down arrows.

Fixes #697 (also known as #879).