fix rotate UI