Why are my Previous/Next buttons overlapping?