fixed ui bug on mobile and tablet