updated CSS, fixed a bug with element resizing.