Fixed a couple of problems with gallery scrollers