Inclined grates with longitudinally movable gratebars