shelf changed with dynamic categories storage and drawing first shelf with sub-cat