hide and show avg and peak value on tap