Work in progress: Stop motion feature. Fixing camera resolution issue