better responsive handling