fixes back button bug and bug where dates wouldn't clear correctly.
Merge pull request #16 from sportngin/datepicker-bugs

Datepicker bug fixes