Added view resizing to sfml window creatio