I have this code, this is for touch screen area, it maps the area fine, but when K is not 1, it shouldn't go there but it does, I tried 2 statements if, does not work. When it calls function secondScreen(); k is set to 2. So this area is not mapped anymore or mapped differently on other screen.