Modified pagination control to use Bootstap styles.