Thanks for you response,
This approach doesnt work as it affect the desktop views of the ui5 application. If you take a look at the screenshots above. The "First" screenshot is how the app should look on desktop and the second is how it should look on mobile devices