test to adapt to screen size