Update viewer.js

description; Move _updateSequenceButtons behind goToPage()