views: add 'hideLoader'/'showLoader' functions