added timelapse controller