added functionality for showing/hiding double touch button