fixed display error on smaller screens