added preventDefault options to stop scrolling at the end of container