vertical movement and window resize fixes. license