added mobile display compatibility