$(".navigation input").on("changeDate", function(event) {
$("#my_hidden_input").val(
$(".navigation input").datepicker('getFormattedDate')
)
if (filtered === false) {
$('.slider').slick('slickFilter','.top date');
defaultSlick();
filtered = true;
} else {
defaultSlick();
filtered = false;
}
});