fix alert display on small screens