Edited the plugin file for the window resize event.