Use ListView to flip the pages
Sailfish: Several perfomance optimizations

Moved most of calculations to external threads, reduced number of
calls for complex javascript functions