Swapped divSwitcher code with working code from JSFiddle
Merge branch 'dev' of https://github.com/KierranM/Instaviewer into dev