Add orientation change padding re-arrange for tablets and mobile devices