add set fps to view loop, works. may need further test.