add time in shake detection - fixes #85