moving averages are now redrawn when switching to another period