change rendering from view to window