make date picker a class instead of an id