fix rotate on tablet