Add sliding window scaling of X-axis (partially implements #12)