fixed bugs in UIScrollView resize on rotation