changed the way styles are applied to the target div of the plugin