added boolean signal to tell when buttons have been released within or without their boundaries