Added function control to timelapse page