Make filters act correctly in a responsive page