Store visible pixels on firebase instead of localstorage