fixed lots of date navigation bugs