side tile collision was not working; changed start index