add scrollview

I converted the component from UIView in UIScrollView, so as to manage the scrolling;
Fixed resizing after rotation;