fix rotate view overflow problem