made plugin responsive