add detect screen resolution