back/next enable/disable added globally to slideElements function