CRM-15063 show/hide function fixes

Display Of Datepicker https://issues.civicrm.org/jira/browse/CRM-15063