improving html output layout