hide/show footer on input