added frame height changing depending on the type of product