Implemented automatic map changing by edge of screen detection.