fix for issue where the day picker jumped around after picking a new date