Changed display open/close to fix resolution change adaptation