Added performShakeOnView method to Utils.