swipe implementation, bugfix

swipe implementation via mouse movement (not touch as it doesn't seem to
work)

bugfix slugscript nullreferrence