Avoids jumping if window is smaller than 300 pixels in height
Avoids jumping if window is smaller than 300 pixels in height

* divides the area where the scroll should be triggered by 2
* uses the minimum value of the above and 300

pixelipo/server,xx621998xx/server,Ardinis/server,whitekiba/server,jbicha/server,pmattern/server,pixelipo/server,bluelml/core,owncloud/core,IljaN/core,michaelletzgus/nextcloud-server,pixelipo/server,cernbox/core,nextcloud/server,jbicha/server,endsguy/server,owncloud/core,phil-davis/core,Ardinis/server,pollopolea/core,cernbox/core,xx621998xx/server,nextcloud/server,pixelipo/server,endsguy/server,owncloud/core,jbicha/server,whitekiba/server,michaelletzgus/nextcloud-server,pixelipo/server,nextcloud/server,pollopolea/core,sharidas/core,owncloud/core,IljaN/core,whitekiba/server,pmattern/server,sharidas/core,cernbox/core,IljaN/core,IljaN/core,jbicha/server,xx621998xx/server,xx621998xx/server,andreas-p/nextcloud-server,IljaN/core,cernbox/core,owncloud/core,andreas-p/nextcloud-server,pmattern/server,endsguy/server,pollopolea/core,sharidas/core,Ardinis/server,whitekiba/server,endsguy/server,sharidas/core,michaelletzgus/nextcloud-server,cernbox/core,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,bluelml/core,jbicha/server,pollopolea/core,sharidas/core,endsguy/server,bluelml/core,andreas-p/nextcloud-server,Ardinis/server,Ardinis/server,pollopolea/core,whitekiba/server,andreas-p/nextcloud-server,pmattern/server,bluelml/core,pmattern/server,xx621998xx/server,nextcloud/server,bluelml/core