to adapt to screen