fixed some css bugs that were causing overflows