Add getScreenRotation function to DisplayHelper