Add duck movement code