Date picker shows and hides in response to user input