fixed CSS visibility problems