tweaked panel mixin for overflow fix