prevent invalid slidechanged on page load