Resizing sections using js