Updated options. Check if window is resized.