fixed issue with highlighted dates not changing when scrolling
added some todos and removed unnecessary code