applied some layout styling. PROBLEML can't get the js to work properly.