Added the displayProgress function and viewer specific versions.
Added the append and init for slider function plus viewer specific
versions.
Regrouped generic gui function in the generic file.
Added get window size gui function. Removed mobile flag from application
file.