makes apply buttons responsive