shake gesture improvements