putting border inside box for core list