Fixed bug where multiple items sliding in one direction would cause a gap between them