Removed delay from shake and added variable