jquery and jquery-ui update for image viewer panel