updated the UI for mobile devices