adding styles to start resizing