fixed css issues with resizing.

removed @media display:block