show only current task on appropriate pages