adding overflow to the panel