fixed buggy reponsiveness with layout