The slider does not move in whole-frame steps. Its position on the play bar represents the current point in time between the beginning and end of the movie.
When you select using the slider, your selection may not start or end exactly at a frame boundary, but any frame that is partially selected is included in the selection.