Added start, end and layer to slide object