added periodic camera angle switching