added responsivity of selection buttons