fixed opening of date picker