fix sizing so it always fits within parent container