added duration option & fixed mobile layout