Default window height is 200px if .height() returns 0. Also set preload distance to 150px.