landscape and protrait orientation fix of tablet UI layout