Add reset and toggle pausing on window resize