init state with the last view seq if the source is a view