initialize horizonal and verticle scrol bars when create.