Added shake gesture helper