My guess is that OP used a third-party app (like Camera FV-5) that has a long exposure feature. The default camera apps don't have that (as far as I know), but Android 5+ supports long exposure.