added a variable width to the barrier grid animation