fit code on screen