Converted to use slide buffering