resize project details and task details divs when viewport is resized