Add in window resize handlers for code that currently listens for mselementresize.

Closes #95.