Fixing the scrolling on iOS devices, and a subtle SQL flaw with the tasks view