a little gate animation tweaking