change:
$maxRows_rsItems = -5;
to:
$maxRows_rsItems = 5;
the minus sign is causing the problem.
what Data bridge version are you using? I believe this should be fixed in the 1.0.9 version, if you have a previous version installed, uninstall it from the extension manager and install the newer one.