Canvas layers and requestAnimationFrame

Thanks Reddit and @mattbasta !