Bug 864476 - [FTE] the progression bar should be hidden in some panels r=arcturus

Moved the className calculation before the switch-case so that we can override
it inside the switch-case.

Added a test case to prevent future regressions
(cherry picked from commit d172b22cd4992fef03d3a2facc64a9644b556e8a)
(cherry picked from commit 3b84b238ed2195a1bc71eaab428ee7b8f6ddbdeb)

Conflicts:
	apps/communications/ftu/js/navigation.js