fix look on mobile, use idb over websql