window can be resized and slides work