fixed compile error
Tab show hide now working