added inverse, fixed responsiveness