So basically, it looks like the camera will constantly be moving? Not sure why you're dividing everything like that.
Here's a way to get a more variable speed rather than just slow or fast.
REM max speed of camera
S# = 5.0
REM mouse distance from bottom of screen
D = screen height() - mousey()
REM if mouse is less than 40 pixels from bottom of screen
if D < 40
rem number between 0 and 1 for variable speed
P# = (40-D)/40.0
rem moves camera between 0.025(1/40) and 1.0(40/40)
rem depending on how close to the edge of the screen the mouse is
move camera S#*P#
endif
"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike