Fixed marker bar to update only when necessary
Batch update the marker bar DOM

In hope of performance improvements