Remove obsolete resizing code.

This patch removes obsolete code related to window resizing.
With recent fix (#151), this code is no more needed and
resizing works correctly.