Click bug fix

Previously pager and thumbers click events were bound to every li on the
page causing undesired transitions.