.panel {
transition: transform 0.7s;
}
html, body {
height: 100%;
}
.container { // если имеется
height: 100%;
}
.block {
height: 100%;
}
document.querySelector("#input").addEventListener("blur", function() {
// спрятать блок
}, false);