fix bug of tab and imgscroll