made animations appear smoother/more accurate, need to account for different window sizes on different screens