added resize, css