
			  pl.setAttribute( 'data-state', index === total - 1 ? 'disabled' : '' );
			}

			slide(0);

		</script>

		<!-- Third party scripts and sharing UI -->

		<div class="credits">
			<a href="https://github.com/hakimel/css/tree/master/flexing-pagination">Source on GitHub</a>
			<a href="https://twitter.com/hakimel">Follow @hakimel</a>
			<a href="https://twitter.com/share?text=Flexing%20pagination%20arrows%20by%20@hakimel&url=http://lab.hakim.se/flexing-pagination&related=hakimel" target="_blank">Tweet th