Firefox carousel fix

Fixes problem where translate is miscalculated when there are only two carousel items.