Fixed issues with UI for mobile devices