Attached PageSlider to window.