Non-uniform sediment transport: dynamics of the active layer