complete the landscape mode, shake function and background music