fixed responsiveness when resizing viewport