changing layout of screen