Half-working sidebar-marker correspondence.
merging current changes from outside
First implementation of sidebar-marker correspondence. Also restricted max height of markers.