back button in states en mouse edge detector in input class