add hide showing button function

Signed-off-by: YoungLeeForeverBoy <ly513782705@gmail.com>