better display message on mobile and desktop