small changes to the scroll lock logic and also avoid duplicate dates (both naive implementations)