move vibrate into lib