The sliding window method helps hold context in the sensor values within the window and the amount of overlap keeps the data windows interdependent or have some similarity/continuity in terms of feature. Both window size and overlap has effect on the classifiers accuracy. It is quite common in classifier design to have windows created to extract feature with 50% overlap.