not using UIDevice in constructor anymore

thanks to kirb to let me know that the use of UIKit in the constructor
can cause the quarter screen glitch after reboot