Utils: test get screen size and set item margin