fixed CSS overflow bugs