adding responsive behaviour