fix expand button style to not overlap with the panel edges