Fixed next/prev day button functionality