Implment show and hide.