set x and set y in splash screen show method