support rotation & fix the number to show on tableview