mainscreen resized according to screen resolution