navigate between days using JS

the detail click event isnt hooking onto the newly rendered dom elements yet