demo tweaks

The stride alignment tweak means the mnist demos work with -b 20 again, which is a bit faster.