Gujjar agitation affects rail, road traffic