adjusting l-main layout