working on proper rendering  with smaller sceens