detect screen

detect and fit to the proper screen