writeDayFunctionfirst day works

buuuut it offsets the div box and shoots it down for some reason…