Add gitignore; fix bug in carousel in infinite mode with pagination active state