Make pop animnation take CGRect instead of NSValue