Applying bootstrap in pagination