Making height and width dynamic

Making this based on number of modules and the width/height