make graphics into an array of pages
fix logic bug in prev task button cb
use is_completed to calculate progress