Add style params and fix bug on custom stack up and down