Added getWidth and getHeight, switched to device's orirntation property (for good or worse, who knows).