change UIWebview creator to take in CGRect instead of x,y