modify show control bar when onclick