fixed #31 does not resize itself when screen resolution has changed